﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DAL;
using Model;

namespace UI.system
{
    public partial class updatepwd : System.Web.UI.Page
    {
        public int id = JobRequest.GetRequestInt("id");
        protected void Page_Load(object sender, EventArgs e)
        {
            //List<SProductInfo> list = SProductDAL.FindAll();
            //foreach (SProductInfo info in list)
            //{
            //    int type=0;
            //    if (info.typeid == 0) { type = 15; }
            //        if (info.typeid == 1) { type = 18; }
            //        if (info.typeid == 2) { type = 19; }
            //        if (info.typeid == 3) { type = 20; }
            //        if (info.typeid == 4) { type = 21; }
            //        if (info.typeid == 5) { type = 22; }
            //        if (info.typeid == 6) { type = 23; }
            //        if (info.typeid == 7) { type = 24; }
            //        if (info.typeid == 8) { type =25; }
            //        if (info.typeid == 9) { type = 26; }
            //        ProductInfo p = new ProductInfo()
            //        {
            //            num = info.num,
            //            state = 1,
            //            typeid = type,
            //            sort = CommonDAL.GetMaxSort("pindan_product"),
            //            unit = info.unit + "/" + info.format,
            //            price = info.price,
            //            name = info.name,
            //            img = "",
            //            context = info.context,
            //            createdate = info.createdate
            //        };
            //        ProductDAL.Save(p);
            //}
        }
    }
}